<style type="text/css">
.modal-lg {
width: 80%;
}
.thWidthAndHeight{width:100px; height:20px;}
</style>
<div>
  <form name="linebonus" class="form-horizontal form-validation">
    <div class="modal-header">
      <h4 class="modal-title">设置红包</h4>
    </div>
     <div class="modal-body">
        <div  class="container-fluid form-horizontal " style="margin: 10px">
            <div class="form-group">
              <label class="col-sm-2 control-label" 
              for={{ele.id}}>分享标题
              </label>
              <div class="col-sm-6">                   
                  <input type="text" class="form-control" 
                  ng-model="util.bonusData.share_title" 
                  ng-required = "true"
                  >
              </div>
            </div>
        </div>
        <div  class="container-fluid form-horizontal " style="margin: 10px">
           <div class="form-group">
              <label class="col-sm-2 control-label" 
              for={{ele.id}}>标签
              </label>
              <div class="col-sm-6">                   
                  <input type="text" class="form-control" 
                  ng-model="util.bonusData.label" 
                  ng-required = "true"
                  >
                  
              </div>
              <div class="col-sm-4" style="vertical-align:middle;">
                <label class="control-label" style="color: red">
                  各标签之间必须以逗号分隔开
                </label>
                
              </div>
            </div>
        </div>
        <div  class="container-fluid form-horizontal " style="margin: 10px">
            <div class="form-group">
              <label class="col-sm-2 control-label" 
              for={{ele.id}}>利润率
              </label>
              <div class="col-sm-2" > 
                <div class="input-group">
                   <input type="text" class="form-control ng-pristine ng-valid ng-not-empty ng-valid-min ng-touched" 
                  ng-required = "true"
                  ng-model="util.bonusData.profit_margin"
                  ng-keyup="clearpeopleNoNum(util.bonusData,'profit_margin')"
                  name="profit_margin" 
                  >
                  <span class="input-group-addon">%</span>
                </div>                  
                 
              </div>
              <div class="col-sm-4" style="vertical-align:middle;">
                <label class="control-label" style="color: red">
                  一级利润率
                </label>
                
              </div>
            </div>
        </div>
        <div  class="container-fluid form-horizontal " style="margin: 10px">
            <div class="form-group">
              <label class="col-sm-2 control-label" 
              for={{ele.id}}>利润
              </label>
              <div class="col-sm-6" >                   
                 <div class="col-sm-6" style="background-color: #eee;height: 34px;padding-top: 7px" >
                   成人：{{util.peoplemin}}——{{util.peoplemax}}
                 </div>
                 <div class="col-sm-6" style="background-color: #eee;height: 34px;padding-top: 7px" >
                   儿童：{{util.childmin}}——{{util.childmax}}
                 </div>
              </div>
              <div class="col-sm-4" style="vertical-align:middle;">
                <label class="control-label" style="color: red">
                二级利润=(居游价-成本价)*(1-利润率)                  
                </label>
              </div>
            </div>
        </div>
        <div  class="container-fluid form-horizontal " style="margin: 10px">
            <div class="form-group">
              <label class="col-sm-2 control-label" 
              for={{ele.id}}>红包金额
              </label>
              <div class="col-sm-4"> 
                <div class="col-sm-5" style="padding: 0px">
                  <div class="input-group ">
                    <input type="text" class="form-control ng-pristine ng-valid ng-not-empty ng-valid-min ng-touched" 
                    ng-required = "true"
                    ng-keyup="clearpeopleNoNum1(util.bonusData,'integral_start')"
                    name="integral_start" ng-model="util.bonusData.integral_start"
                    >
                    <span class="input-group-addon">元</span>
                  </div>
                </div>
                
                <div class="col-sm-1" style="vertical-align:middle;">
                  <label class="control-label" >
                    -
                  </label>
                </div> 
                <div class="col-sm-5" style="padding: 0px">
                  <div class="input-group ">
                    <input type="text" class="form-control ng-pristine ng-valid ng-not-empty ng-valid-min ng-touched" 
                    ng-required = "true"
                    ng-keyup="clearpeopleNoNum1(util.bonusData,'integral_end')"
                    name="integral_end" ng-model="util.bonusData.integral_end"
                    
                    
                    >
                    <span class="input-group-addon">元</span>
                  </div>
                </div>
              </div>
              <div class="col-sm-4" >
                <label class="control-label" style="color: red" >
                  红包金额 下限-----上限
                </label>
             </div>
            </div>
        </div>
     </div>
   
      <div class="modal-footer">
          <button type="submit" class="btn m-b-xs w-xs btn-success btn-rounded pull-right" ng-click="gogogo()" style="margin-left: 10px">保存</button>
          <button class="btn m-b-xs w-xs btn-success btn-rounded pull-right" ng-click="cancel()" style="margin-left: 10px">关闭</button>
      </div>

     

    

  </form>
</div>